package core.genetic.mutation.single;

import java.util.Random;

import utility.Utils;
import core.Mode;
import core.genetic.Individual;

public class RandomMutation implements SingleGeneMutation
{

	@Override
	public double getMutated(double oldValue) {
		return Utils.random.nextDouble()*2-1;
	}
}
